package com.baseframe.score.controller;


import com.baseframe.score.service.SnsSignService;
import com.baseframe.tool.result.R;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 用户签到控制器
 */
@RestController
@RequestMapping("/front/sign")
@AllArgsConstructor
public class FrontSnsSignController {

    private SnsSignService snsSignService;

    @PostMapping("/in")
    public R<Object> signIn(){
        return snsSignService.signIn();
    }
}
